{%if etype == "article" or etype == "guestbook" %}<tr><td class="tableLabel">
	验证码（必填）：</td><td>
	<input id="id_safecode" type="text" name="safecode" value="" maxlength="4" style="width: 60px;" />
		<span><img id="SCimg" border="0" style="cursor:pointer; margin-bottom: -6px!important;margin-bottom: -4px;" src="/safecode.gif" title="点击刷新验证码！" onClick="reloadSCimage();" /></span></td>
	<script type="text/javascript">
	<!--
		function reloadSCimage(){
			var scimg = document.getElementById('SCimg');
			scimg.src = "/safecode.gif?rm="+Math.round(Math.random()*10000);
		}
	//-->
	</script>
</tr>{% else %}<tr class="formTr">
	<td class="formLabel">验证码: </td>
	<td class="formField"><input id="id_{{safecode.name}}" type="text" name="{{safecode.name}}" value="{{safecode.value|default:''}}" maxlength="4" style="width: 60px;" valid="not" />
		<span><img id="SCimg" border="0" style="cursor:pointer; margin-bottom: -6px!important;margin-bottom: -4px;" src="/safecode.gif" title="点击刷新验证码！" onClick="reloadSCimage();" /></span></td>
	<td class="formInfo" id="{{field.name}}_info">{{safecode.errors}}</td>
	<script type="text/javascript">
	<!--
		function reloadSCimage(){
			var scimg = document.getElementById('SCimg');
			scimg.src = "/safecode.gif?rm="+Math.round(Math.random()*10000);
		}
	//-->
	</script>
</tr>{%endif%}